//
//  PaparazziAppDelegate.h
//  Paparazzi
//
//  Created by Eric Williams on 10/24/10.
//  Copyright 2010 Eric Williams. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import "FlickrFetcher.h"
#import "Recent.h"

@interface PaparazziAppDelegate : NSObject <UIApplicationDelegate> {
    
    UIWindow *window;
	UITabBarController *tabController;					// Controller for lower section tabs
	UINavigationController *navContactController;		// Controller for the upper navigation position within 'Contacts'
    UINavigationController *navRecentController;		// Controller for the upper navigation position within 'Recents'
	UINavigationController *navMapController;			// Controller for the upper navigation position within 'Map'
	FlickrFetcher *flickrFetcher;						// Controller for Core Data management
	
//@private
//    NSManagedObjectContext *managedObjectContext_;
//    NSManagedObjectModel *managedObjectModel_;
//    NSPersistentStoreCoordinator *persistentStoreCoordinator_;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;

//@property (nonatomic, retain, readonly) NSManagedObjectContext *managedObjectContext;
//@property (nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel;
//@property (nonatomic, retain, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;

- (void)loadCoreData;
- (void)loadMainUI;

- (NSString *)applicationDocumentsDirectory;
//- (void)saveContext;

@property (retain) UITabBarController *tabController;
@property (retain) UINavigationController *navContactController;
@property (retain) UINavigationController *navRecentController;
@property (retain) UINavigationController *navMapController;
@property (retain) FlickrFetcher *flickrFetcher;
@end

